-
Defines options for emitting
Notification.Name.electronicHorizonDidUpdatePosition
,Notification.Name.electronicHorizonDidEnterRoadObject
, andNotification.Name.electronicHorizonDidExitRoadObject
notifications while aRouteController
orPassiveLocationManager
is active.Note
The Mapbox Electronic Horizon feature of the Mapbox Navigation SDK is in public beta and is subject to changes, including its pricing. Use of the feature is subject to the beta product restrictions in the Mapbox Terms of Service. Mapbox reserves the right to eliminate any free tier or free evaluation offers at any time and require customers to place an order to purchase the Mapbox Electronic Horizon feature, regardless of the level of use of the feature.Declaration
Swift
public struct ElectronicHorizonOptions
-
RoadGraph
provides methods to get edge shape (e.g.RoadGraph.Edge
) and metadata.You do not create a
RoadGraph
object manually. Instead, observe theNotification.Name.electronicHorizonDidUpdatePosition
notification to obtain edge identifiers and get more details about the edges using theRouteController.roadGraph
orPassiveLocationManager.roadGraph
property.Note
The Mapbox Electronic Horizon feature of the Mapbox Navigation SDK is in public beta and is subject to changes, including its pricing. Use of the feature is subject to the beta product restrictions in the Mapbox Terms of Service. Mapbox reserves the right to eliminate any free tier or free evaluation offers at any time and require customers to place an order to purchase the Mapbox Electronic Horizon feature, regardless of the level of use of the feature.Declaration
Swift
public final class RoadGraph
-
Identifies a road object according to one of two OpenLR standards.
Note
The Mapbox Electronic Horizon feature of the Mapbox Navigation SDK is in public beta and is subject to changes, including its pricing. Use of the feature is subject to the beta product restrictions in the Mapbox Terms of Service. Mapbox reserves the right to eliminate any free tier or free evaluation offers at any time and require customers to place an order to purchase the Mapbox Electronic Horizon feature, regardless of the level of use of the feature.Declaration
Swift
public enum OpenLRIdentifier
-
Describes the relationship between the road object and the direction of a referenced line. The road object may be directed in the same direction as the line, against that direction, both directions, or the direction of the road object might be unknown.
Note
The Mapbox Electronic Horizon feature of the Mapbox Navigation SDK is in public beta and is subject to changes, including its pricing. Use of the feature is subject to the beta product restrictions in the Mapbox Terms of Service. Mapbox reserves the right to eliminate any free tier or free evaluation offers at any time and require customers to place an order to purchase the Mapbox Electronic Horizon feature, regardless of the level of use of the feature.Declaration
Swift
public enum OpenLROrientation
-
A human-readable name or route reference code that identifies a road.
Note
The Mapbox Electronic Horizon feature of the Mapbox Navigation SDK is in public beta and is subject to changes, including its pricing. Use of the feature is subject to the beta product restrictions in the Mapbox Terms of Service. Mapbox reserves the right to eliminate any free tier or free evaluation offers at any time and require customers to place an order to purchase the Mapbox Electronic Horizon feature, regardless of the level of use of the feature.Declaration
Swift
public enum RoadName
-
Describes the object on the road. There are two sources of road objects: active route and the electronic horizon.
See moreDeclaration
Swift
public struct RoadObject
-
Contains information about distance to the road object of a concrete type/shape (gantry, polygon, line, point etc.).
See moreDeclaration
Swift
public enum DistancedRoadObject
-
Provides methods for road object matching.
Matching results are delivered asynchronously via a delegate. In case of error (if there are no tiles in the cache, decoding failed, etc.) the object won’t be matched.
Note
The Mapbox Electronic Horizon feature of the Mapbox Navigation SDK is in public beta and is subject to changes, including its pricing. Use of the feature is subject to the beta product restrictions in the Mapbox Terms of Service. Mapbox reserves the right to eliminate any free tier or free evaluation offers at any time and require customers to place an order to purchase the Mapbox Electronic Horizon feature, regardless of the level of use of the feature.Declaration
Swift
final public class RoadObjectMatcher
-
Stores and provides access to metadata about road objects.
You do not create a
RoadObjectStore
object manually. Instead, use theRouteController.roadObjectStore
orPassiveLocationManager.roadObjectStore
to access the currently active road object store.Note
The Mapbox Electronic Horizon feature of the Mapbox Navigation SDK is in public beta and is subject to changes, including its pricing. Use of the feature is subject to the beta product restrictions in the Mapbox Terms of Service. Mapbox reserves the right to eliminate any free tier or free evaluation offers at any time and require customers to place an order to purchase the Mapbox Electronic Horizon feature, regardless of the level of use of the feature.Declaration
Swift
public final class RoadObjectStore
extension RoadObjectStore: RoadObjectsStoreObserver
-
RoadObjectMatcher
delegate.Note
The Mapbox Electronic Horizon feature of the Mapbox Navigation SDK is in public beta and is subject to changes, including its pricing. Use of the feature is subject to the beta product restrictions in the Mapbox Terms of Service. Mapbox reserves the right to eliminate any free tier or free evaluation offers at any time and require customers to place an order to purchase the Mapbox Electronic Horizon feature, regardless of the level of use of the feature.Declaration
Swift
public protocol RoadObjectMatcherDelegate : AnyObject
-
RoadObjectStore
delegate
See more- note: The Mapbox Electronic Horizon feature of the Mapbox Navigation SDK is in public beta and is subject to changes, including its pricing. Use of the feature is subject to the beta product restrictions in the Mapbox Terms of Service. Mapbox reserves the right to eliminate any free tier or free evaluation offers at any time and require customers to place an order to purchase the Mapbox Electronic Horizon feature, regardless of the level of use of the feature.
Declaration
Swift
public protocol RoadObjectStoreDelegate : AnyObject
-
An error that occures during road object matching.
Note
The Mapbox Electronic Horizon feature of the Mapbox Navigation SDK is in public beta and is subject to changes, including its pricing. Use of the feature is subject to the beta product restrictions in the Mapbox Terms of Service. Mapbox reserves the right to eliminate any free tier or free evaluation offers at any time and require customers to place an order to purchase the Mapbox Electronic Horizon feature, regardless of the level of use of the feature.Declaration
Swift
public struct RoadObjectMatcherError : LocalizedError